Optimal. Leaf size=208 \[ -\frac{5 \sqrt [4]{5} \left (21+2 \sqrt{5}\right ) \left (x^2+\sqrt{5}\right ) \sqrt{\frac{x^4+5}{\left (x^2+\sqrt{5}\right )^2}} \text{EllipticF}\left (2 \tan ^{-1}\left (\frac{x}{\sqrt [4]{5}}\right ),\frac{1}{2}\right )}{21 \sqrt{x^4+5}}+\frac{1}{21} \left (7 x^2+6\right ) \sqrt{x^4+5} x^5+\frac{2}{3} \sqrt{x^4+5} x^3-\frac{10 \sqrt{x^4+5} x}{x^2+\sqrt{5}}+\frac{20}{21} \sqrt{x^4+5} x+\frac{10 \sqrt [4]{5} \left (x^2+\sqrt{5}\right ) \sqrt{\frac{x^4+5}{\left (x^2+\sqrt{5}\right )^2}} E\left (2 \tan ^{-1}\left (\frac{x}{\sqrt [4]{5}}\right )|\frac{1}{2}\right )}{\sqrt{x^4+5}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.124185, antiderivative size = 208, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {1274, 1280, 1198, 220, 1196} \[ \frac{1}{21} \left (7 x^2+6\right ) \sqrt{x^4+5} x^5+\frac{2}{3} \sqrt{x^4+5} x^3-\frac{10 \sqrt{x^4+5} x}{x^2+\sqrt{5}}+\frac{20}{21} \sqrt{x^4+5} x-\frac{5 \sqrt [4]{5} \left (21+2 \sqrt{5}\right ) \left (x^2+\sqrt{5}\right ) \sqrt{\frac{x^4+5}{\left (x^2+\sqrt{5}\right )^2}} F\left (2 \tan ^{-1}\left (\frac{x}{\sqrt [4]{5}}\right )|\frac{1}{2}\right )}{21 \sqrt{x^4+5}}+\frac{10 \sqrt [4]{5} \left (x^2+\sqrt{5}\right ) \sqrt{\frac{x^4+5}{\left (x^2+\sqrt{5}\right )^2}} E\left (2 \tan ^{-1}\left (\frac{x}{\sqrt [4]{5}}\right )|\frac{1}{2}\right )}{\sqrt{x^4+5}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1274
Rule 1280
Rule 1198
Rule 220
Rule 1196
Rubi steps
\begin{align*} \int x^4 \left (2+3 x^2\right ) \sqrt{5+x^4} \, dx &=\frac{1}{21} x^5 \left (6+7 x^2\right ) \sqrt{5+x^4}+\frac{10}{63} \int \frac{x^4 \left (18+21 x^2\right )}{\sqrt{5+x^4}} \, dx\\ &=\frac{2}{3} x^3 \sqrt{5+x^4}+\frac{1}{21} x^5 \left (6+7 x^2\right ) \sqrt{5+x^4}-\frac{2}{63} \int \frac{x^2 \left (315-90 x^2\right )}{\sqrt{5+x^4}} \, dx\\ &=\frac{20}{21} x \sqrt{5+x^4}+\frac{2}{3} x^3 \sqrt{5+x^4}+\frac{1}{21} x^5 \left (6+7 x^2\right ) \sqrt{5+x^4}+\frac{2}{189} \int \frac{-450-945 x^2}{\sqrt{5+x^4}} \, dx\\ &=\frac{20}{21} x \sqrt{5+x^4}+\frac{2}{3} x^3 \sqrt{5+x^4}+\frac{1}{21} x^5 \left (6+7 x^2\right ) \sqrt{5+x^4}+\left (10 \sqrt{5}\right ) \int \frac{1-\frac{x^2}{\sqrt{5}}}{\sqrt{5+x^4}} \, dx-\frac{1}{21} \left (10 \left (10+21 \sqrt{5}\right )\right ) \int \frac{1}{\sqrt{5+x^4}} \, dx\\ &=\frac{20}{21} x \sqrt{5+x^4}+\frac{2}{3} x^3 \sqrt{5+x^4}-\frac{10 x \sqrt{5+x^4}}{\sqrt{5}+x^2}+\frac{1}{21} x^5 \left (6+7 x^2\right ) \sqrt{5+x^4}+\frac{10 \sqrt [4]{5} \left (\sqrt{5}+x^2\right ) \sqrt{\frac{5+x^4}{\left (\sqrt{5}+x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{x}{\sqrt [4]{5}}\right )|\frac{1}{2}\right )}{\sqrt{5+x^4}}-\frac{5 \sqrt [4]{5} \left (21+2 \sqrt{5}\right ) \left (\sqrt{5}+x^2\right ) \sqrt{\frac{5+x^4}{\left (\sqrt{5}+x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{x}{\sqrt [4]{5}}\right )|\frac{1}{2}\right )}{21 \sqrt{5+x^4}}\\ \end{align*}
Mathematica [C] time = 0.0387653, size = 82, normalized size = 0.39 \[ \frac{1}{21} x \left (-35 \sqrt{5} x^2 \, _2F_1\left (-\frac{1}{2},\frac{3}{4};\frac{7}{4};-\frac{x^4}{5}\right )-30 \sqrt{5} \, _2F_1\left (-\frac{1}{2},\frac{1}{4};\frac{5}{4};-\frac{x^4}{5}\right )+7 \left (x^4+5\right )^{3/2} x^2+6 \left (x^4+5\right )^{3/2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.083, size = 192, normalized size = 0.9 \begin{align*}{\frac{{x}^{7}}{3}\sqrt{{x}^{4}+5}}+{\frac{2\,{x}^{3}}{3}\sqrt{{x}^{4}+5}}-{\frac{2\,i}{\sqrt{i\sqrt{5}}}\sqrt{25-5\,i\sqrt{5}{x}^{2}}\sqrt{25+5\,i\sqrt{5}{x}^{2}} \left ({\it EllipticF} \left ({\frac{x\sqrt{5}\sqrt{i\sqrt{5}}}{5}},i \right ) -{\it EllipticE} \left ({\frac{x\sqrt{5}\sqrt{i\sqrt{5}}}{5}},i \right ) \right ){\frac{1}{\sqrt{{x}^{4}+5}}}}+{\frac{2\,{x}^{5}}{7}\sqrt{{x}^{4}+5}}+{\frac{20\,x}{21}\sqrt{{x}^{4}+5}}-{\frac{4\,\sqrt{5}}{21\,\sqrt{i\sqrt{5}}}\sqrt{25-5\,i\sqrt{5}{x}^{2}}\sqrt{25+5\,i\sqrt{5}{x}^{2}}{\it EllipticF} \left ({\frac{x\sqrt{5}\sqrt{i\sqrt{5}}}{5}},i \right ){\frac{1}{\sqrt{{x}^{4}+5}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{x^{4} + 5}{\left (3 \, x^{2} + 2\right )} x^{4}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (3 \, x^{6} + 2 \, x^{4}\right )} \sqrt{x^{4} + 5}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 2.02494, size = 78, normalized size = 0.38 \begin{align*} \frac{3 \sqrt{5} x^{7} \Gamma \left (\frac{7}{4}\right ){{}_{2}F_{1}\left (\begin{matrix} - \frac{1}{2}, \frac{7}{4} \\ \frac{11}{4} \end{matrix}\middle |{\frac{x^{4} e^{i \pi }}{5}} \right )}}{4 \Gamma \left (\frac{11}{4}\right )} + \frac{\sqrt{5} x^{5} \Gamma \left (\frac{5}{4}\right ){{}_{2}F_{1}\left (\begin{matrix} - \frac{1}{2}, \frac{5}{4} \\ \frac{9}{4} \end{matrix}\middle |{\frac{x^{4} e^{i \pi }}{5}} \right )}}{2 \Gamma \left (\frac{9}{4}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{x^{4} + 5}{\left (3 \, x^{2} + 2\right )} x^{4}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]